
public class Urs extends Omnivore{
	protected String rasa;

	public Urs(int varsta, String culoare, String nume, String talie,String rasa) {
		super(varsta, culoare, nume, talie);
		this.rasa = rasa;
	}

	public String getRasa() {
		return rasa;
	}

	public void setRasa(String rasa) {
		this.rasa = rasa;
	}

	@Override
	public String toString() {
		return "Urs [rasa=" + rasa + "]";
	}
	
	
	
}
